package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Classroom;
import cn.wolfcode.crm.query.QueryForObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IClassroomService {
    void deleteByPrimaryKey(Long id);

    void insert(Classroom record);

    Classroom selectByPrimaryKey(Long id);

    List<Classroom> selectAll();

    void updateByPrimaryKey(Classroom record);
    PageResult query(QueryForObject qo);


    void changeState(Long id);
}
